Rates Of Opioid Overdose Deaths And COVID-19 In 2020

J Montgomery Maxwell

Import Packages

Import the necessary python packages and define functions and objects for cleaning the data.

Clean Overdose Data

Import and clean the opioid overdose data from the CDC Wonder MCD mortality dataset using the multiple cause-of-death classification codes:

Clean Covid Data

Import and clean the Johns Hopkins University dataset for COVID-19 total cases and total deaths by state as of 12/31/2020.
Data found here - https://github.com/CSSEGISandData/COVID-19

Merge Cleaned Data

COVID-19 And Opioid Overdose Deaths In 2020

First we will examine the data and correlation coefficients related to opioid overdose mortality rates, COVID-19 case rates, and COVID-19 mortality rates.

The specific data metrics are:

The correlation coefficients between all of the data metrics and the opioid overdose mortality rate and year-over-year change in opioid overdose mortality rates will let us know if there exists any linear or monotonic relation between these metrics.

Pearson Correlation

Spearman Correlation

As we can see, there is no significant correlation between the year-over-year percent change in opioid overdose deaths between 2019 and 2020 and any of the other statewide metrics.

There is a slight to moderate correlation beween the Opioid Overdose Mortality rates in 2020 and the following statewide metrics.

In other words, this suggests that states with higher rates of Opioid Overdose Mortalities had a slightly higher rates of COVID-19 Deaths Per Cases and slightly lower rates for COVID-19 Cases.

COVID-19 And Opioid Overdoses 2020

First let us visualize and compare opioid overdose mortality rates in 2020 with rates of COVID-19 cases and rates of COVID-19 Deaths Per Cases.

COVID-19 Cases

Comparing the images above and below we can see that states with particularly high rates of COVID-19 cases in the Northern Great Plains area have some of the lowest rates of opioid overdose deaths. Additionally, the states in Central and Northern Appalachia have some of the highest rates of opioid overdose deaths and moderately low rates of COVID-19 cases.

Opioid Overdose Deaths 2020

COVID-19 Deaths

It is slightly more difficult to clearly visualize the trends between higher opioid overdose mortality rates and COVID-19 case mortality rates, however the distinction is still clear that the states with relatively higher rates of opioid related deaths also have relatively higher COVID-19 case mortality rates. This correlation is particularly more distinct amongst states in the Southwest (New Mexico and Arizona) and the Northeast (Pennsylvania, New York, and Maryland). The moderately high correlation coefficients further indicate that the states with the highest rate of opioid overdose mortalities are also the states with the highest rates of COVID-19 case mortalities. From this information it would not be unreasonable to conclude that the states with high rates of opioid overdose mortalities and COVID-19 case mortalities simply lacked access to the public healthcare infrastructure necessarry to address either of these public health crises.

However, it is difficult to explain why states with a high rate of opioid related deaths would simultaneously have low COVID-19 case rates per 100K residents and high COVID-19 mortality rates per 100K cases, particularly when there is little correlation between rates of COVID-19 cases and deaths per cases (see below).

Additional issues with comparing rates of opioid overdoses and COVID-19 deaths include: 1) Different state's have different standards by which they record COVID-19 cases and COVID-19 deaths. 2) The COVID-19 pandemic affected the different regions of the U.S. in waves, so comparing COVID-19 metrics using 12/31/2020 as a temporal deadline is inherently arbitrary.

Therefore, in regards to this analysis it appears unlikely that there is any meaningful correlation between rates of opioid overdose mortalities and rates of COVID-19 cases or COVID-19 deaths per cases or at the very least that there is no conclusive explanation for this correlation from the data available.

**Further work to come regarding the opioid overdose mortality rates, key economic indicators, and the economic impact of COVID-19.